/*
 *    Document   : McKit
 *    Created on : 04/03/2013, 08:45:56
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.model.McKit',{
    extend:'Ext.data.Model'
 
    ,fields:[
        {name:'id',type:'int'}
        ,{name:'dscMcKit',type:'string'}
        ,{name:'qntDisciplina',type:'int'}
        ,{name:'qntKit',type:'int'}
        ,{name:'qntTotal',type:'number'}
        ,{name:'vlrUnit',type:'number'}
        ,{name:'vlrFinal',type:'number'}
        ,{name:'indicacoesParametros', type:'string'}
    ],
 
    validations:[
       {type:'presence', field:'qntKit'}
       ,{type:'presence', field:'vlrUnit'}
    ]    
    
});